package com.pzr.soccer.consts;

/**
 * @Author pzr
 * @date:2021-12-13-14:28
 * @Description:
 **/
public class GeneralConst {

    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    /**
     * http请求
     */
    public static final String HTTP = "http://";

    /**
     * https请求
     */
    public static final String HTTPS = "https://";

    /**
     * 成功标记
     */
    public static final Integer SUCCESS = 200;

    /**
     * 失败标记
     */
    public static final Integer FAIL = 500;


    /**
     * 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";

    /**
     * 验证码有效期（分钟）
     */
    public static final long CAPTCHA_EXPIRATION = 2;


    public static int Parse_Errors_Limit = 1;
    public static int Extract_Errors_Limit = 1;
    public static String Parse_Errors_Occurred="parse_error_occurred";
}
